<template>
  <div>
    el-input:输入框组件 prefix-icon:输入框头部字体图标
    <el-input
      class="inp"
      placeholder="请输入用户名"
      v-model="input"
      prefix-icon="el-icon-user"
    ></el-input>
    <el-input
      class="inp"
      placeholder="请输入密码"
      v-model="password"
      show-password
      prefix-icon="el-icon-lock"
    ></el-input>
    <el-input
      class="inp"
      placeholder="请确认密码"
      v-model="repassword"
      prefix-icon="el-icon-lock"
      show-password
    ></el-input>
  </div>
</template>

<script>
export default {
  data () {
    return {
      input: '',
      password: '',
      repassword: ''
    }
  },
  methods: {}
}
</script>

<style lang="less" scoped>
.inp {
  width: 300px;
  display: block;
  margin: 20px;
}
</style>
